package com.csun.cmny.provider.model.domain;

import com.csun.cmny.core.mybatis.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;

@Data
@Table(name = "cn_dmc_patrol_reminder")
public class DmcPatrolReminder extends BaseEntity {

    /**
     * 用户ID
     */
    @Column(name = "user_id")
    private Long userId;

    /**
     * 巡更人
     */
    @Column(name = "user_name")
    private String userName;

    /**
     * 巡更位置
     */
    private String location;

    /**
     * 巡更时间 yyyy-MM-dd hh:mm:ss
     */
    @Column(name = "patrol_time")
    private String patrolTime;

    /**
     * 实际巡更时间 yyyy-MM-dd hh:mm:ss
     */
    @Column(name = "patrol_check")
    private String patrolCheck;

    /**
     * 巡更间隔时间 单位:分钟
     */
    @Column(name = "patrol_duration")
    private Integer patrolDuration;

    /**
     * 开始时间 yyyy-MM-dd hh:mm:ss
     */
    @Column(name = "patrol_start")
    private String patrolStart;

    /**
     * 结束时间 yyyy-MM-dd hh:mm:ss
     */
    @Column(name = "patrol_end")
    private String patrolEnd;

    /**
     * 巡更点设备Id
     */
    @Column(name = "point_id")
    private Long pointId;

    /**
     * 巡更点设备编号
     */
    @Column(name = "point_no")
    private String pointNo;

    /**
     * 巡更棒设备Id
     */
    @Column(name = "great_id")
    private Long greatId;

    /**
     * 巡更棒设备编号
     */
    @Column(name = "great_no")
    private String greatNo;

    /**
     * 状态 1-待巡更 2-已巡更 3-超时未巡更
     */
    private Integer status;

    /**
     * 备注
     */
    private String remark;

    /**
     * 所属机构
     */
    @Column(name = "group_id")
    private Long groupId;

}